package cn.tedu.csmall.passport.ex;

public class ServiceException extends RuntimeException{
    private cn.tedu.csmall.passport.ex.ServiceCode code;

    public cn.tedu.csmall.passport.ex.ServiceCode getCode() {
        return code;
    }

    public void setCode(cn.tedu.csmall.passport.ex.ServiceCode code) {
        this.code = code;
    }

    public ServiceException(cn.tedu.csmall.passport.ex.ServiceCode code, String message){
        super(message);
        this.code=code;
    }
}
